package cn.yzc.mapper;

import cn.yzc.pojo.Orders;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>Project: redis - OrdersMapper</p>
 * <p>Powered by yzc On 2023-12-14 09:19:33</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */
@Mapper
public interface OrdersMapper {
     //保存订单和订单明细
     int save(Orders orders);

     //根据订单编号查看订单明细
     Orders queryOid(String oid);
}
